/***********************************************************************
    Written By Alex "SparkyMcSparks" Romo
    
    Questions? Concerns? Suggestions?
        Contact Me On AIM @ DareDevilSparks7
***********************************************************************/

/****************************************************************************
    Loadout
****************************************************************************/

class 'Loadout' ( Player )

function Loadout:initLoadout()
    Player.InitWeapons( self )
    
    mapName = Shared.GetMapName()
    
    if( mapName == "ns2_tram" ) then
        self:GiveItem( Rifle.kMapName )
        self:GiveItem( Pistol.kMapName )
        self:GiveItem( Axe.kMapName )
        
        self:SetActiveWeapon( Rifle.kMapName )
    elseif( mapName == "ns2_cooptest" ) then
        self:GiveItem( Shotgun.kMapName )
        self:GiveItem( Pistol.kMapName )
        self:GiveItem( Axe.kMapName )
        
        self:SetActiveWeapon( Shotgun.kMapName )
    else
        PrintLn( "Loadout: Level Not Listed. Assigning Default." )
        
        self:GiveItem( Rifle.kMapName )
        self:GiveItem( Pistol.kMapName )
        self:GiveItem( Axe.kMapName )
        
        self:SetActiveWeapon( Rifle.kMapName )
    end
end